﻿@model TCC.CMFlow.Models.Usuario

@{
    ViewBag.Title = "Deletar Usuário do Grupo";
}

<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h4 class="modal-title" id="myModalLabel">@ViewBag.Title</h4>
</div>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    
    <div class="modal-body">
        <div class="form-horizontal">
            @Html.ValidationSummary(null, new { @class = "alert alert-danger" })

            <h5>Tem certeza que deseja deletar o Usuário do Grupo?</h5>
            <div>
                <dl class="dl-horizontal">
                    <dt>
                        @Html.DisplayNameFor(model => model.Nome)
                    </dt>

                    <dd>
                        @Html.DisplayFor(model => model.Nome)
                    </dd>

                    <dt>
                        @Html.DisplayNameFor(model => model.Email)
                    </dt>

                    <dd>
                        @Html.DisplayFor(model => model.Email)
                    </dd>

                </dl>
            </div>
        </div>
    </div>
    
    <div class="modal-footer">
        <button class="btn" data-dismiss="modal">Cancelar</button>
        <input type="submit" value="Deletar" class="btn btn-danger" />
    </div>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}